Guest Johnson Posted August 16, 2008 Report Share Posted August 16, 2008 I asked this in the #TG007 Room In Koach yesterday lol but everyone had gone for dinner ... Is it possible to have a command in your script where when you are in "webchat" that you could do something like this !join and your script would join the room also the same with !leave and the script would leave (not a hop) ... iv seen this happen but not with the same commands iv done but not sure where ? or would this have to be done with two scripts ... I know you can do it in the script i.e /leave and also /join #roomname. I will leave it in your capable hands Link to comment Share on other sites More sharing options...
The Gate Keeper Posted August 16, 2008 Report Share Posted August 16, 2008 provided you are using the standard level system... on admin:TEXT:!join *:#: { msg $chan Joining $2 now... | join $2 } on admin:TEXT:!leave *:#: { if ($2 ischan) { part $2 | msg $chan I have now left $2 } else { msg $chan I am not in $2 } } Something like that... then use !join #roomname and !leave #roomname Link to comment Share on other sites More sharing options...
Guest Johnson Posted August 16, 2008 Report Share Posted August 16, 2008 Thanks for the reply TGK ... Ok this is what i did i copied and pasted that code into remote .. both in the script i use for Koach and my SPCN script ... i tried it in both and did as you said !leave #TG007 and !join #TG007 and that was tried in Koach ... i then loaded the code to SPCN script as im an op in the room lol and did this !leave %#roomname & !join %#roomname and this lol !leave#roomname !join #roomname ... :'( nothing mate happened in either script ... I am very gratefull for your help on this TGK thankyou Link to comment Share on other sites More sharing options...
The Gate Keeper Posted August 16, 2008 Report Share Posted August 16, 2008 what is your user system? Can you copy/paste a working code for a user command that is just for you? Link to comment Share on other sites More sharing options...
Lindrian Posted August 16, 2008 Report Share Posted August 16, 2008 Use #$2 instead of $2 in the join/part events. Link to comment Share on other sites More sharing options...
Guest Johnson Posted August 16, 2008 Report Share Posted August 16, 2008 what is your user system? Can you copy/paste a working code for a user command that is just for you? TGK sorry i dont know what you mean when you say your user system ? Link to comment Share on other sites More sharing options...
Site Moderator chain Posted August 16, 2008 Site Moderator Report Share Posted August 16, 2008 This is my snippet for joining another room try it on *:TEXT:!join*:#:{ /msg # Now Joining $2- $nick $+ .... Hold your Horses | /join $2- | /msg # Join Complete For $2- Anything Else $nick } Link to comment Share on other sites More sharing options...
The Gate Keeper Posted August 16, 2008 Report Share Posted August 16, 2008 yea... then anyone can do it. that's why its a bad idea to do what chain gave. Link to comment Share on other sites More sharing options...
Guest X-Fusion Posted August 16, 2008 Report Share Posted August 16, 2008 Are you trying to do it while your outside of the room? Example; your in #TG007, your script parts and you do !join #TG007 (while your in the room on webchat) and it rejoins the room? If so, that's impossible to do in webchat. Link to comment Share on other sites More sharing options...
Guest Johnson Posted August 16, 2008 Report Share Posted August 16, 2008 Are you trying to do it while your outside of the room? Example; your in #TG007, your script parts and you do !join #TG007 (while your in the room on webchat) and it rejoins the room? If so, that's impossible to do in webchat. Thanks X-Fusion that is Exactly the question I was asking ... so it cant be done while im in webchat Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now