My boi lucifer (peercommons) made this I'm just posting it for him since he doesn't have a hawkee account so thank him for it.(I had little or nothing to do in the making of this script)xD just copy'n'past to remote and add your room where the script says (room) here. right click enyone u want to invite. this script is set for THREE rooms you may add additional rooms if you please thank you!
menu nicklist {
.[-| Invite $$1 too YOUR ROOM HERE |-]: /invite $$1 YOUR ROOM HERE
.[-|Invite $$1 too YOUR ROOM HERE |-]: /invite $$1 YOUR ROOM HERE
.---invite $$1 Too YOUR ROOM HERE---: /invite $$1 YOUR ROOM HERE
}
We all need to stop arguing dammit... We are a community of the different people, doing the SAME THING... who cares how bad someone's script is? thats why people who know more about the language make comments and help them... who cares who says WTF... it doesnt matter.. wtf is wtf... so dont whine about it. Be mature and don't argue with your fellow scripters
i can post whenever i want, if it bother u, dont read itYou can make a post in your sleep if you wish; this is a social network where people are welcome to offer their inputs.
I don't believe I've done anything wrong to signify that I've been bothered by your post. If I was bothered by it, I wouldn't have posted a suggestion to make your supplied code better.
As for the second example using tokenize, it is served as an alternative. It doesn't mean I intend to attack you against your example. Please get that straight.
as ever, u commenting on my posts without read, and u keep ignoring my advice of "read it first"I did read the the word "wtf." It's out of the question you had to use it; it doesn't matter what passage you tried to refer to.
Now, you're being feisty and using an overlooked mistake I've made at the forum regarding your post as a weapon against me. You quote that just to pick up a fight to troll this thread, don't you? Again, have some manner for Christ's sake. Made_Of_Scars already states that he's a beginner.
Dean, > invite $$1 $gettok(%x,%y,32)can be shortened to
invite $$1 $v1
Alternatively, you can tokenize tokens and do an internal looping on them:
menu nicklist {
.[invite $$1]:{
var %x = $$input(which rooms you want to invite $$1? $crlf put rooms separated by spaces $crlf like #room1 #room2 etc,eo,INVITE), %y = $$1
tokenize 32 $!
invite %y $*
}
}
P.S. There is no reason to use "wtf" to belittle someone's work.
Okay a couple of things, it's a good first try on your boi's part.
But there is a better way of setting up an invite where you don't have to have it more than once. If you leave it the way it is right now you're missing a closing bracket as well.
menu nicklist {
. Invite Nick: /invite $$1 $$?=" Enter Channel"
}
and why dont u click on edit, and edit it?
My boi lucifer (peercommons)
wtf?
dont need to use 3 menu nicklists to set 3 rooms to invite
menu nicklist {
.[invite $$1]:{ var %x = $input(which rooms you want to invite $$1? $crlf put rooms separated by spaces $crlf like #room1 #room2 etc,eo,INVITE)
if (%x != $false) {
var %y = 1
while ($gettok(%x,%y,32)) {
invite $$1 $gettok(%x,%y,32)
inc %y
}
}
}
}
this code will allow you to invite ppl to which rooms you want, by the way, your friend is a probably dammit spammer