mob/verb/AFK()
flick("AFK sign",usr)
Problem description:
ok so thats my code but it takes away ur player icon and puts the AFK sign but i need it soo it just goes over ur icon but ur still ther
ID:263704
Aug 8 2007, 9:35 am
|
|
Code:
mob/verb/AFK() Problem description: ok so thats my code but it takes away ur player icon and puts the AFK sign but i need it soo it just goes over ur icon but ur still ther |
Aug 8 2007, 11:28 am
|
|
In response to Lt. Pain
|
|
You should learn Boolean!
mob/var/tmp/AFK // Tmp so the variable is unsavable The snippet you showed would never work Pain, simply because AFK was originally not defined as 1 or 0, it was null (if you used the ! operator, it would but you were looking specifically for the value 0) |
In response to GhostAnime
|
|
thnx guys and also do u know how i put pictures on the hub?
|
In response to Dimone Jr
|
|
um, regular HTML?
<img src="http ://web.address/here/for_image"> |
In response to GhostAnime
|
|
Yes your right, typo >.>
|
In response to GhostAnime
|
|
thnx aain and prob last question (for today at least)
ok so i want it so before u do a move u hav to do seals but i dont want doing seals a verb so how can i make it so u clcik the move it does the seals then u click it again then he does the actual move |
In response to Dimone Jr
|
|
You program it in?
Tech/Some_Random_Jutsu |
In response to GhostAnime
|
|
ok i tryed doing this
mob/var/tmp/Chidori // Tmp so the variable is unsavable mob/verb/Chidori() proc = "Hand Seals" src.Chidori = !src.Chidori // If AFK was TRUE (eg: 1) before, it is now FALSE (eg: 0). And vice-versa. world<<"[src.name] says [Chidori]" // x?y:z is a mini-if() statement: if(x is true){return y value}else{return z value} if(src.Chidori) overlays += "Chidori" else overlays -= "Chidori" but i keep getting this :1150:error:proc:undefined var y is it saying that |