User Control Panel
Advertisements

HELP US, HELP YOU!

Popup Without Sign In

 
Post new topic   Reply to topic    Bot Depot Forum Index -> Commands
View unanswered posts
Author Message
Porto
Senior Member
Senior Member


Joined: 07 Jan 2004
Posts: 152

Reputation: 31.4Reputation: 31.4Reputation: 31.4

PostPosted: Wed Jan 21, 2004 9:30 pm    Post subject: Reply with quote

Hi i changed a popup command for andromeda users you can now let a popup appear without the "had just sign in." Very Happy
Back to top
Dazzy
Agent
Agent


Joined: 09 Jan 2004
Posts: 1731

Reputation: 72.3

PostPosted: Wed Jan 21, 2004 9:55 pm    Post subject: Reply with quote

sorry to say this but that was ever so slightly wrong, it might work for other people but here the one that worked for me, well done on that tho.
but why do you have to put in the bots name, its not as if it says name says:
any way here the new code for me,only slight difference
Code:
use URI::Escape;<br /><br />sub popup<br />{<br />    my ($bot, $self, $user, $msg) = @_;<br />    if($msg eq '') <br />    {<br />        return {Message => 'Popup a message like when someone signs in. Example !popup Reboot in 30 seconds. <=> normal name',<br />                Color => "660000"};<br />    } else {<br />        my ($popname,$oldname) = split (/\s*\<\=\>\s*/, $msg);<br /><br />    $self->set_name("$popname<br /><br /><br /><br /><br /><br /><br /><br /><br /><br />");<br />    $self->set_status("HDN");<br />    $self->set_status('NLN');<br />    $self->set_name("put name here");<br /><br />        return "Popped up '$popname'";<br />    }<br />    return "";<br />}<br /><br />{<br />    Description => "Popup a message to announce something",<br />    Category    => "Mod Utilities",<br />    Usage       => "popup alert<=>oldname",<br />};<br />
Back to top
Porto
Senior Member
Senior Member


Joined: 07 Jan 2004
Posts: 152

Reputation: 31.4Reputation: 31.4Reputation: 31.4

PostPosted: Wed Jan 21, 2004 10:02 pm    Post subject: Reply with quote

i have your bot in my list and is saw your bot without has just sign in :huh:

SO what did you change on that command code???
i only see new lines so what i use other characters

it doesnt matter it matters that it WORKS Wink
Back to top
eric256
The Keymaker
The Keymaker


Joined: 03 May 2006
Posts: 2292
Location: Colorado
Reputation: 47Reputation: 47Reputation: 47Reputation: 47Reputation: 47

PostPosted: Wed Jan 21, 2004 10:21 pm    Post subject: Reply with quote

dazzy why not mention what was wrong??
_________________
Eric256
Proud previous owner and current admin of Bot-depot.com
Back to top
Dazzy
Agent
Agent


Joined: 09 Jan 2004
Posts: 1731

Reputation: 72.3

PostPosted: Wed Jan 21, 2004 10:35 pm    Post subject: Reply with quote

sorry it just did'nt work for me, was coming up as not a command so i think i changed the sub name
Back to top
Porto
Senior Member
Senior Member


Joined: 07 Jan 2004
Posts: 152

Reputation: 31.4Reputation: 31.4Reputation: 31.4

PostPosted: Thu Jan 22, 2004 3:24 pm    Post subject: Reply with quote

edited by eric: Removed Status change command. ARG. Please post these in your own topic porto. Why tack that on here? No one will ever find it here and it just pollutes your original post with another command.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Commands All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group